<?php 
header ( "Content-Type: text/html; charset=UTF-8" );

class Products{
	
	//객체가 생성되었을 경우 limit 값을 저장하는 변수
	var $limit;
	
	var $code;
	var $name;
	var $minPrice;
	var $avgPrice;
	var $image_url;
	
	///////////////////limit/////////////////////
	function getLimit(){
		return $this->limit;
	}
	function setLimit($limit){
		return $this->limit=$limit;
	}
	///////////////////code/////////////////////
	function getCode(){
		return $this->code;
	}
	function setCode($code){
		return $this->code=$code;
	}
	///////////////////name/////////////////////
	function getName(){
		return $this->name;
	}
	function setName($name){
		return $this->name=$name;
	}
	///////////////minPrice/////////////////////
	function getMinPrice(){
		return $this->minPrice;
	}
	function setMinPrice($minPrice){
		return $this->minPrice=$minPrice;
	}
	///////////////avgPrice/////////////////////
	function getAvgPrice(){
		return $this->avgPrice;
	}
	function setAvgPrice($avgPrice){
		return $this->avgPrice=$avgPrice;
	}
	////////////////$image_url//////////////////
	function getImageURL(){
		return $this->image_url;
	}
	function setImageURL($image_url){
		return $this->image_url=$image_url;
	}
	
}
?>